
import {mock} from '../config'; // mock.js 需要一个配置

mock.mock('/user/login','post',() => {
    return {
        isok:true,
        status:true,
        username:'daxia',
        role:'Admin'
    }
});